//
//  UITableView++.swift
//  NewNGPlay
//
//  Created by YMac on 2017/12/14.
//  Copyright © 2017年 zchd. All rights reserved.
//

extension UITableView{
    public func setAdapter<T,J>(_ adapter:YAdapter<T,J>){
        self.tableFooterView = UIView(frame: .zero)
        self.dataSource = adapter
        self.delegate = adapter
        //self.reloadData()
    }
}
